package constant;

/**
 * @author Jonathan Maret
 * Enum used into Constant.java
 */
public enum TypeOfContact {

	
	STUDENT(1, "étudiant"),
	TEACHER (2, "enseignant");

	
	private final int type;
	private final String name;
	
	
	private TypeOfContact(int type, String name) {
		this.type = type;
		this.name = name;
	}


	public int getType() {
		return type;
	}


	public String getName() {
		return name;
	}
	
	
	
    
}
